<template>
	<view class="content">
		<view class="cont-box">
			<u-parse :content="content"></u-parse>
		</view>


	</view>
</template>

<script>
	import {
		customerInfo
	} from '@/api/common'

	export default {
		components: {


		},
		data() {
			return {

				content: '',
			};
		},

		onLoad() {
			this.getCustomerInfo()
		},
		onShow() {
			// await this.reset()
		},

		methods: {

			// 获取信息（信息分类（1：联系电话，2：常见问题，3：用户须知））
			async getCustomerInfo() {
				let res = await customerInfo(3)
				if (res.code == 200) {
					this.content = res.data.context
				}
			},
		}
	};
</script>

<style scoped lang="scss">
	.content {
		height: 100vh;
		overflow-y: auto;
		box-sizing: border-box;
		background: #F6F1E5;
		padding: 30rpx;

	}

	.cont-box {
		padding: 30rpx;
		background: #FFFFFF;
		border-radius: 20rpx;
	}
</style>